<div style="min-height: 282px">
    <header><?php echo __('people you may know') ?></header>
    <ul class="list">
        <?php if(count($user_profiles)): ?>
        <?php foreach($user_profiles as $profile):?>
        <li>
            <div class="list_main_container">
                <img src="<?php echo Media::get_file_path($profile['file_name'], $profile['file_id'], $profile['file_extension'], false, 'mini_square'); ?>" alt="<?php echo $profile['name'].' '.$profile['surname'] ?>"/>
                <div class="list_user_link"><a href="/desktop/<?php echo $profile['url'] ?>" class="desktop_link" title="<?php echo __('show desktop')?>"></a><a href="/profile/<?php echo $profile['url'] ?>" class="profile_link" title="<?php echo __('show profile') ?>"></a></div>
                <div style="width: 230px">
                    <p class="mini_name ellipsis_character"><?php echo $profile['name'].' '.$profile['surname'] ?></p>
                    <p class="mini_info ellipsis_word"><?php echo$profile['description'] ?></p>
                </div>  
                <div class="list_standard_entre"><?php echo __('mutual contacts').': '.$profile['amount_mutual'] ?></div>
                <div class="list_standard_entre" style="float: right; margin-right: 15px"> <a href="/contact/send_request/<?php echo $profile['url'] ?>" class="button_blue add_to_contacts" rel="<?php echo __('Send an invitation to the group of contacts to :user ? | :user will have to confirm your invitation. Send an invitation only if you know him personally. |Send Invitation|Cancel', array(':user' => $profile['name'].' '.$profile['surname']))?>"><span><?php echo __('add to contacts')?></span></a></div>
               
                
            </div>
        </li>
        <?php endforeach ?>
        <?php else: ?>
            <li>
                <div class="list_main_container">
                    <div class="list_standard_entre" style="text-align: center; float: none"><?php echo __('no proposition of contacts to show') ?></div>                   
                </div>
            </li>
        <?php endif ?>
    </ul>
</div>